package com.qfmy.model.entity.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.entity
 * @date 2025/4/13
 * @description 用户实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Users {
    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "用户名称")
    private String username;

    @Schema(description = "用户手机号")
    private String phone;

    @Schema(description = "用户密码")
    private String password;

    @Schema(description = "用户头像")
    private String avatar;

    @Schema(description = "用户角色（0: 普通用户, 1: 管理员, 2: VIP）")
    private Integer role;

    @Schema(description = "用户余额")
    private BigDecimal money;

    @Schema(description = "用户简介")
    private String bio;

    @Schema(description = "用户性别 0:男 1:女")
    private Integer gender;

    @Schema(description = "用户粉丝数")
    private Integer fan;

    @Schema(description = "用户关注数")
    private Integer attend;

    @Schema(description = "用户的状态 0:启用 1:禁用")
    private Integer status;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "用户token")
    private String RefreshToken;
}